/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classcreator.abstractclasses;

/**
 *
 * @author Samus
 */
public class AbstractFK {

    private EnumDataType type;
    private String property;
    private String fk;
    private String refTable;
    private boolean checked = false;

    public String getFk() {
        return fk;
    }

    public void setFk(String fk) {
        this.fk = fk;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public EnumDataType getType() {
        return type;
    }

    public void setType(EnumDataType type) {
        this.type = type;
    }

    public String getRefTable() {
        return refTable;
    }

    public void setRefTable(String refTable) {
        this.refTable = refTable;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "Prop:" + getProperty() + " - Tabla Ref:" + getRefTable() + " - Fk:" + getFk();
    }
}
